<?php

return [

    /*
    |--------------------------------------------------------------------------
    | Validation Language Lines
    |--------------------------------------------------------------------------
    |
    | The following language lines contain the default error messages used by
    | the validator class. Some of these rules have multiple versions such
    | as the size rules. Feel free to tweak each of these messages here.
    |
    */

    'accepted' => 'The :attribute must be accepted.',
    'active_url' => 'The :attribute is not a valid URL.',
    'after' => 'The :attribute must be a date after :date.',
    'after_or_equal' => 'The :attribute must be a date after or equal to :date.',
    'alpha' => 'The :attribute may only contain letters.',
    'alpha_dash' => 'The :attribute may only contain letters, numbers, dashes and underscores.',
    'alpha_num' => 'The :attribute may only contain letters and numbers.',
    'array' => ':attribute必须是个数组',
    'before' => 'The :attribute must be a date before :date.',
    'before_or_equal' => 'The :attribute must be a date before or equal to :date.',
    'between' => [
        'numeric' => 'The :attribute must be between :min and :max.',
        'file' => 'The :attribute must be between :min and :max kilobytes.',
        'string' => 'The :attribute must be between :min and :max characters.',
        'array' => 'The :attribute must have between :min and :max items.',
    ],
    'boolean' => ':attribute必须是true或者false.',
    'confirmed' => 'The :attribute confirmation does not match.',
    'date' => ':attribute必须是一个日期',
    'date_equals' => 'The :attribute must be a date equal to :date.',
    'date_format' => 'The :attribute does not match the format :format.',
    'different' => 'The :attribute and :other must be different.',
    'digits' => ':attribute必须是数字:digits',
    'digits_between' => 'The :attribute must be between :min and :max digits.',
    'dimensions' => 'The :attribute has invalid image dimensions.',
    'distinct' => 'The :attribute field has a duplicate value.',
    'email' => ':attribute不是邮箱格式',
    'exists' => 'The selected :attribute is invalid.',
    'file' => ':attribute不是一个文件',
    'filled' => 'The :attribute field must have a value.',
    'gt' => [
        'numeric' => ':attribute必须大于:value',
        'file' => ':attribute必须大于:value千字节',
        'string' => ':attribute必须大于:value个字',
        'array' => ':attribute必须大于:value个',
    ],
    'gte' => [
        'numeric' => ':attribute必须大于等于:value',
        'file' => ':attribute必须大于等于:value千字节',
        'string' => ':attribute必须大于等于:value个字',
        'array' => ':attribute必须大于等于:value个',
    ],
    'image' => ':attribute必须是一个图片',
    'in' => ':attribute值错误',
    'in_array' => ':attribute必须在:other中',
    'integer' => ':attribute必须是一个整数',
    'ip' => 'The :attribute must be a valid IP address.',
    'ipv4' => 'The :attribute must be a valid IPv4 address.',
    'ipv6' => 'The :attribute must be a valid IPv6 address.',
    'json' => ':attribute必须是一个JSON字符串',
    'lt' => [
        'numeric' => ':attribute必须小于:value',
        'file' => ':attribute必须小于:value千字节',
        'string' => ':attribute必须小于:value个字',
        'array' => ':attribute必须小于:value个',
    ],
    'lte' => [
        'numeric' => ':attribute必须小于等于:value',
        'file' => ':attribute必须小于等于:value千字节',
        'string' => ':attribute必须小于等于:value个字',
        'array' => ':attribute必须小于等于:value个',
    ],
    'max' => [
        'numeric' => ':attribute不能超过:max',
        'file' => ':attribute不能超过:max千字节',
        'string' => ':attribute不能超过:max个字',
        'array' => ':attribute不能超过:max个',
    ],
    'mimes' => 'The :attribute must be a file of type: :values.',
    'mimetypes' => 'The :attribute must be a file of type: :values.',
    'min' => [
        'numeric' => ':attribute不能小于:min',
        'file' => ':attribute不能小于:min千字节',
        'string' => ':attribute不能小于:min个字',
        'array' => ':attribute不能小于:min个',
    ],
    'not_in' => 'The selected :attribute is invalid.',
    'not_regex' => 'The :attribute format is invalid.',
    'numeric' => ':attribute不是一个数字',
    'present' => 'The :attribute field must be present.',
    'regex' => 'The :attribute format is invalid.',
    'required' => ':attribute必须',
    'required_if' => 'The :attribute field is required when :other is :value.',
    'required_unless' => 'The :attribute field is required unless :other is in :values.',
    'required_with' => 'The :attribute field is required when :values is present.',
    'required_with_all' => 'The :attribute field is required when :values are present.',
    'required_without' => 'The :attribute field is required when :values is not present.',
    'required_without_all' => 'The :attribute field is required when none of :values are present.',
    'same' => 'The :attribute and :other must match.',
    'size' => [
        'numeric' => ':attribute必须是:size.',
        'file' => ':attribute大小必须是:size千字节',
        'string' => ':attribute必须是:size个字',
        'array' => ':attribute必须有:size个',
    ],
    'starts_with' => 'The :attribute must start with one of the following: :values',
    'string' => ':attribute必须是一个字符串',
    'timezone' => 'The :attribute must be a valid zone.',
    'unique' => ':attribute已经存在',
    'uploaded' => 'The :attribute failed to upload.',
    'url' => 'The :attribute format is invalid.',
    'uuid' => 'The :attribute must be a valid UUID.',

    /*
    |--------------------------------------------------------------------------
    | Custom Validation Language Lines
    |--------------------------------------------------------------------------
    |
    | Here you may specify custom validation messages for attributes using the
    | convention "attribute.rule" to name the lines. This makes it quick to
    | specify a specific custom language line for a given attribute rule.
    |
    */

    'custom' => [
        'mobile' => ':attribute格式错误',
        'time' => ':attribute格式错误'
    ],

    /*
    |--------------------------------------------------------------------------
    | Custom Validation Attributes
    |--------------------------------------------------------------------------
    |
    | The following language lines are used to swap our attribute placeholder
    | with something more reader friendly such as "E-Mail Address" instead
    | of "email". This simply helps us make our message more expressive.
    |
    */

    'attributes' => ['mobile', 'time'],

];
